package com.fly.platform.conf.bean

import cn.hutool.extra.spring.SpringUtil
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.context.annotation.Import
import org.springframework.util.AntPathMatcher
import org.springframework.util.PathMatcher

/**
 * 声明bean
 * @author fly
 */
@Configuration
@Import(SpringUtil::class)
class BeansConfiguration {
    @Bean
    fun pathMatcher(): PathMatcher {
        return AntPathMatcher()
    }
}